<template>
    <div class="box">
        <!-- <van-icon @click="back" name="arrow-left" :color="params.left?'':'white'" />
        <span>{{params.title}}</span>
        <img src="img/xiaoxi12x.png" alt=""> -->
        <!-- <img src="img/xiaoxidian.png" alt=""> -->
    </div>
</template>
<script>
export default {
    props:['params'],
    methods: {
        back(){
            this.$router.back();
        }
    },
}
</script>
<style lang="scss" scoped>
    .box{
        width: 100%;
        height: 0.88rem;
        font-size: 0.32rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.2rem;
        box-sizing: border-box;
        border-bottom: 0.01rem solid #eee;
        span{
            font-weight: bold;
        }
        img{
            width: 0.34rem;
            height: 0.34rem;
        }
    }
</style>